<?php
/**
 * Base class for all template handlers.
 * 
 * All of handlers must define their constructors - where you set if tag is closeable and if it requires parser to parse children.
 * 
 * All of them must also define function Parse, that returns array of ( success / failure, text to replace tag ). For examples see built-in handlers.
 */
abstract class qHandler
{
    public function IsCloseable()
    {
        return $this->iscloseable;
    }
    
    public function ParseChildren()
    {
        return $this->parsechildren;
    }
}